<%@ page contentType="text/html;charset=UTF-8" %>
<div id="categoryDiv">
	<div>
		类别：<a href="${ctx}/PublishInfo/list.do?cityId=${query.cityId}" style="font-weight:bold;color:#000000">全部</a>
		&nbsp;&nbsp;<a id="category_1" href="${ctx}/PublishInfo/list.do?categoryId=1&cityId=${query.cityId}">泥水工</a>
		&nbsp;&nbsp;<a id="category_2" href="${ctx}/PublishInfo/list.do?categoryId=2&cityId=${query.cityId}">刮腻子</a>
		&nbsp;&nbsp;<a id="category_3" href="${ctx}/PublishInfo/list.do?categoryId=3&cityId=${query.cityId}">防水</a>
		&nbsp;&nbsp;<a id="category_4" href="${ctx}/PublishInfo/list.do?categoryId=4&cityId=${query.cityId}">贴砖</a>
		&nbsp;&nbsp;<a id="category_5" href="${ctx}/PublishInfo/list.do?categoryId=5&cityId=${query.cityId}">敲墙</a>
		&nbsp;&nbsp;<a id="category_6" href="${ctx}/PublishInfo/list.do?categoryId=6&cityId=${query.cityId}">打孔</a>
		&nbsp;&nbsp;<a id="category_10" href="${ctx}/PublishInfo/list.do?categoryId=10&cityId=${query.cityId}">木匠</a>
		&nbsp;&nbsp;<a id="category_7" href="${ctx}/PublishInfo/list.do?categoryId=7&cityId=${query.cityId}">吊顶工</a>
		&nbsp;&nbsp;<a id="category_8" href="${ctx}/PublishInfo/list.do?categoryId=8&cityId=${query.cityId}">油漆工</a>
		&nbsp;&nbsp;<a id="category_9" href="${ctx}/PublishInfo/list.do?categoryId=9&cityId=${query.cityId}">水电工</a>
	</div>
	<div style="height:2px;line-height:2px" ></div>
	<div>
		区域：<a  href="${ctx}/PublishInfo/list.do?categoryId=${query.categoryId}" style="font-weight:bold;color:#000000">全部</a>&nbsp;&nbsp;
		<a id="city_1377" href="${ctx}/PublishInfo/list.do?cityId=1377&categoryId=${query.categoryId}">武侯区</a>&nbsp;&nbsp;
		<a id="city_1376" href="${ctx}/PublishInfo/list.do?cityId=1376&categoryId=${query.categoryId}">金牛区</a>&nbsp;&nbsp;
		<a id="city_1375" href="${ctx}/PublishInfo/list.do?cityId=1375&categoryId=${query.categoryId}">青羊区</a>&nbsp;&nbsp;
		<a id="city_1374" href="${ctx}/PublishInfo/list.do?cityId=1374&categoryId=${query.categoryId}">锦江区</a>&nbsp;&nbsp;
		<a id="city_1378" href="${ctx}/PublishInfo/list.do?cityId=1378&categoryId=${query.categoryId}">成华区</a>&nbsp;&nbsp;
		<a id="city_1384" href="${ctx}/PublishInfo/list.do?cityId=1384&categoryId=${query.categoryId}">温江区</a>&nbsp;&nbsp;
	</div>
	<div>
	</div>

  </div>
  <script>
  	if('${query.categoryId}'!=''){
  		document.getElementById("category_${query.categoryId}").style.color='red';
  		document.getElementById("category_${query.categoryId}").style.fontWeight='bold';
  	}
  	if('${query.cityId}'!=''){
  		document.getElementById("city_${query.cityId}").style.color='red';
  		document.getElementById("city_${query.cityId}").style.fontWeight='bold';
  	}
  </script>